package com.infocollect.project.grant.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.infocollect.project.grant.mapper.TappAuditAuxiliaryMapper;
import com.infocollect.project.grant.domain.TappAuditAuxiliary;
import com.infocollect.project.grant.service.ITappAuditAuxiliaryService;

/**
 * 审核辅助信息Service业务层处理
 * 
 * @author infocollect
 * @date 2022-11-06
 */
@Service
public class TappAuditAuxiliaryServiceImpl implements ITappAuditAuxiliaryService 
{
    @Autowired
    private TappAuditAuxiliaryMapper tappAuditAuxiliaryMapper;

    /**
     * 查询审核辅助信息
     * 
     * @param id 审核辅助信息ID
     * @return 审核辅助信息
     */
    @Override
    public TappAuditAuxiliary selectTappAuditAuxiliaryById(Long id)
    {
        return tappAuditAuxiliaryMapper.selectTappAuditAuxiliaryById(id);
    }

    /**
     * 查询审核辅助信息列表
     * 
     * @param tappAuditAuxiliary 审核辅助信息
     * @return 审核辅助信息
     */
    @Override
    public List<TappAuditAuxiliary> selectTappAuditAuxiliaryList(TappAuditAuxiliary tappAuditAuxiliary)
    {
        return tappAuditAuxiliaryMapper.selectTappAuditAuxiliaryList(tappAuditAuxiliary);
    }

    /**
     * 新增审核辅助信息
     * 
     * @param tappAuditAuxiliary 审核辅助信息
     * @return 结果
     */
    @Override
    public int insertTappAuditAuxiliary(TappAuditAuxiliary tappAuditAuxiliary)
    {
        return tappAuditAuxiliaryMapper.insertTappAuditAuxiliary(tappAuditAuxiliary);
    }

    /**
     * 修改审核辅助信息
     * 
     * @param tappAuditAuxiliary 审核辅助信息
     * @return 结果
     */
    @Override
    public int updateTappAuditAuxiliary(TappAuditAuxiliary tappAuditAuxiliary)
    {
        return tappAuditAuxiliaryMapper.updateTappAuditAuxiliary(tappAuditAuxiliary);
    }

    /**
     * 批量删除审核辅助信息
     * 
     * @param ids 需要删除的审核辅助信息ID
     * @return 结果
     */
    @Override
    public int deleteTappAuditAuxiliaryByIds(Long[] ids)
    {
        return tappAuditAuxiliaryMapper.deleteTappAuditAuxiliaryByIds(ids);
    }

    /**
     * 删除审核辅助信息信息
     * 
     * @param id 审核辅助信息ID
     * @return 结果
     */
    @Override
    public int deleteTappAuditAuxiliaryById(Long id)
    {
        return tappAuditAuxiliaryMapper.deleteTappAuditAuxiliaryById(id);
    }
}
